//
//  WFAddSavingsMethodTextCell.h
//  WeiFang
//
//  Created by WeiFang Team on 2023.
//  Copyright © 2023 WeiFang Team. All rights reserved.
//

#import "BaseTableViewCell.h"

@class WFAddSavingsMethodTextCell;
@class WFAddSavingsMethodTextCellModel;

@protocol WFAddSavingsMethodTextCellDelegate <NSObject>

- (void)addSavingsMethodTextCell:(WFAddSavingsMethodTextCell *)cell textField:(UITextField *)textField;

@end

@interface WFAddSavingsMethodTextCell : BaseTableViewCell <UITextFieldDelegate>

@property (nonatomic,weak) id<WFAddSavingsMethodTextCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UITextField *textField;//输入框
@property (strong, nonatomic) WFAddSavingsMethodTextCellModel *model;

@end


#pragma mark - Model

@interface WFAddSavingsMethodTextCellModel : NSObject

@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *content;

+ (WFAddSavingsMethodTextCellModel *)ittemModelWithTitle:(NSString *)title content:(NSString *)content;

@end
